<template>
  <div id="userLayout">
    <a-layout style="height: 100vh">
      <a-layout-header class="header">
        <a-space>
          <img class="logo" src="@/assets/logo.png" alt="logo" />
          <div>QOJ</div>
        </a-space>
      </a-layout-header>
      <a-layout-content class="content">
        <router-view />
      </a-layout-content>
      <a-layout-footer class="footer">
        <a href="https://gitee.com/xuduyinuo">xudu的代码仓库</a>
      </a-layout-footer>
    </a-layout>
  </div>
</template>
<script lang="ts" setup></script>
<style scoped>
#userLayout {
  text-align: center;
  background: url('https://gw.alipayobjects.com/zos/rmsportal/FfdJeJRQWjEeGTpqgBKj.png') 0% 0% /
    100% 100%;
}

#userLayout .logo {
  height: 64px;
  margin: 16px;
}

#userLayout .header {
  margin-bottom: 16px;
  margin-top: 60px;
}

#userLayout .content {
  margin-bottom: 16px;
  padding: 20px;
}

#userLayout .footer {
  background: #efefef;
  padding: 16px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}
</style>
